//
//  BinAleartView.m
//  fangkedengji
//
//  Created by 张斌 on 16/8/2.
//  Copyright © 2016年 YueShiKeJi. All rights reserved.
//

#import "BinAleartView.h"
#import "YSDoViewManager.h"
#import "UIView+CZFrame.h"

@implementation BinAleartView

+ (instancetype)aleartview{

  return [[[NSBundle mainBundle] loadNibNamed:@"BinAleartView" owner:nil options:nil]lastObject];;
}
- (IBAction)okbtnclick:(UIButton *)sender {
    if (self.binblock) {
        self.binblock(self);
    }
}

- (void)layoutSubviews{
    [super layoutSubviews];
    
    [[YSDoViewManager sharedmanager] settoyuanWithview:@[self.headerimageview] andR:self.headerimageview.w/2];
    
}


@end
